<?php

namespace App;

use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;

class User extends Authenticatable
{
    use Notifiable;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $table = 'users';
    protected $fillable = ['id', 'openid', 'unionid', 'head_img',
            'from_uid', 'from_type','register_ip', 'balance', 'sex', 'country', 'city',
            'province', 'nickname', 'create_at', 'update_at'
        ];


    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */

}
